package com.sinopec.android.constant;

import java.util.ArrayList;
import java.util.HashMap;

import com.sinopec.android.R;

import android.app.Activity;

public class Constants {
	/**
	 * activityList
	 */
	public static ArrayList<Activity>  activityList = null;
	/**
	 * LOGIN_USERNAME
	 */
	public static String username = "";
	
	public static HashMap<String,Integer> signMap = null;
	static {
		signMap = new HashMap<String, Integer>(); 
		signMap.put("陈利源", R.drawable.chenliyuan);
		signMap.put("陈天成", R.drawable.chentiancheng);
		signMap.put("丁士东", R.drawable.dingshidong);
		signMap.put("郭才轩", R.drawable.guocaixuan);
		signMap.put("侯绪田", R.drawable.houxutian);
		signMap.put("姜向东", R.drawable.jiangxiangdong);
		signMap.put("蒋延学", R.drawable.jiangyanxue);
		signMap.put("姜毓敏", R.drawable.jiangyumin);
		signMap.put("李光泉", R.drawable.liguangquan);
		signMap.put("李家芬", R.drawable.lijiafen);
		signMap.put("林永学", R.drawable.linyongxue);
		signMap.put("刘爱顺", R.drawable.liuaishun);
		signMap.put("刘建立", R.drawable.liujianli);
		signMap.put("刘汝山", R.drawable.liurushan);
		signMap.put("刘甦", R.drawable.liusu);
		signMap.put("刘修善", R.drawable.liuxiushan);
		signMap.put("路保平", R.drawable.lubaoping);
		signMap.put("陆黄生", R.drawable.luhuangsheng);
		signMap.put("路晓莉", R.drawable.luxiaoli);
		signMap.put("马开华", R.drawable.makaihua);
		signMap.put("孟民", R.drawable.mengmin);
		signMap.put("牛新明", R.drawable.jiangyanxue);
		signMap.put("潘光林", R.drawable.panguanglin);
		signMap.put("宋钢", R.drawable.songgang);
		signMap.put("宋明全", R.drawable.songmingquan);
		signMap.put("孙明光", R.drawable.sunmingguang);
		signMap.put("王栋材", R.drawable.wangdongcai);
		signMap.put("王文立", R.drawable.wangwenli);
		signMap.put("吴姬昊", R.drawable.wujihao);
		signMap.put("向芬", R.drawable.xiangfen);
		signMap.put("肖丽", R.drawable.xiaoli);
		signMap.put("薛承谨", R.drawable.xuechengjin);
		signMap.put("薛玉志", R.drawable.xueyuzhi);
		signMap.put("胥思平", R.drawable.xusiping);
		signMap.put("闫光庆", R.drawable.yanguangqing);
		signMap.put("闫现军", R.drawable.yanxianjun);
		signMap.put("曾义金", R.drawable.zengyijin);
		signMap.put("张虹", R.drawable.zhanghong);
		signMap.put("张立强", R.drawable.zhangliqiang);
		signMap.put("张明昌", R.drawable.zhangmingchang);
		signMap.put("张旭东", R.drawable.zhangxudong);
		signMap.put("赵金海", R.drawable.zhaojinhai);
		
	}
	
	public static int getSignInImage(String signName){
		if(signName.indexOf(".")!=-1){
			signName = signName.substring(0,signName.indexOf("."));
		}
		return signMap.get(signName);
	}
	
	public static String btnClickType = "0";
	
	public static long annouceToDo = 0;//未读通知数量
	
	public static long documentToDo = 0;//未读文档数量
	
	public static long travelToDo = 0;//未读出差数量
}
